<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<head>
  <title>用户登录</title>
  <meta name="keywords" content="" />
  <meta name="description" content="" />
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <link href="/food/Public/log/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css">
  <link href="/food/Public/log/css/templatemo_style.css" rel="stylesheet" type="text/css"> 

<link href="/food/Public/mb1/css/bootstrap.css" rel="stylesheet">
<link href="/food/Public/mb1/css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Furnished Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>

<script src="/food/Public/mb1/js/jquery.min.js"> </script>
           <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
  <!-- js -->
     <script src="/food/Public/mb1/js/bootstrap.js"></script>
  <!-- js -->
    <script type="text/javascript" src="/food/Public/mb1/js/move-top.js"></script>
<script type="text/javascript" src="/food/Public/mb1/js/easing.js"></script>
<!--/script-->
<script type="text/javascript">
      jQuery(document).ready(function($) {
        $(".scroll").click(function(event){   
          event.preventDefault();
          $('html,body').animate({scrollTop:$(this.hash).offset().top},900);
        });
      });
</script>






</head>




<div class="header">
<div class="header-top">
    <div class="container">
        
      <form class="navbar-form navbar-right wow fadeInRight animated" data-wow-delay=".5s" style="visibility: visible; -webkit-animation-delay: .5s;">
        <div class="form-group">
        
          
        </div>
        
      </form> 
    </div>  
    </div>
    <div class="clearfix"> </div>
  </div>



<div class="header-nav">
  <div class="container">
    <div class="logo">
      <a href="<?php echo U('Index/index');?>"><img src="/food/Public/mb1/images/logo.png" /></a>
    </div>
    <div class="navigation">
      <nav class="navbar navbar-default">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            <span class="icon-bar"> </span>
            </button>
          </div>
          <div class="collapse navbar-collapse nav-wil" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
            <li class="active"><a href="<?php echo U('Index/index');?>">首页 <span class="sr-only">(current)</span></a></li>
            
          <li><a href="<?php echo U('Meishis/meishis');?>">发表美食</a></li>
            <li><a href="<?php echo U('Meishis/meishis');?>">用户分享</a></li>
             <li><a href="<?php echo U('Users/userInfo');?>">个人信息</a></li>
            <li><a href="<?php echo U('Users/login');?>">登录</a></li>
            <li><a href="<?php echo U('Users/reg');?>">注册</a></li>
            </ul>
        <div class="clearfix"> </div>
      </div><!-- /.navbar-collapse -->
    </nav>
  </div>
  </div>
  </div>
  <div class="clearfix"> </div>
</div>
    
























<body class="templatemo-bg-gray">
  <div class="container">
    <div class="col-md-12">
      <h1 class="margin-bottom-15">用户登录</h1>
       <form class="form-horizontal templatemo-container templatemo-login-form-1 margin-bottom-30" role="form" action="<?php echo U('Users/checkLogin');?>" method="post"
      onsubmit="return check();">  
      <!-- <form  method="post"  class="form-horizontal" action="<?php echo U('Users/checkLogin');?>"  enctype="multipart/form-data" onsubmit="return check();" >   -->   
            <div class="form-group">
              <div class="col-xs-12">               
                <div class="control-wrapper">
                  <label for="username" class="control-label fa-label"><i class="fa fa-user fa-medium"></i></label>
                  <!-- <input type="text" class="form-control" id="username" placeholder="Username"> -->
                  <input class="form-control" placeholder="手机号(必填)" type="text" id="telephone" name="telephone" required pattern="[0-9]{11}" title="请填写正确的手机号">
                </div>                              
              </div>              
            </div>
            <div class="form-group">
              <div class="col-md-12">
                <div class="control-wrapper">
                  <label for="password" class="control-label fa-label"><i class="fa fa-lock fa-medium"></i></label>
                  <!-- <input type="password" class="form-control" id="password" placeholder="Password"> -->
                  <input class="form-control" placeholder="密码(必填)" type="password" id="password" name="password" required>
                </div>
              </div>
            </div>


            <div class="form-group">
              <div class="col-md-12">
                <div class="control-wrapper">
                  <!-- <label for="password" class="control-label fa-label"><i class="fa fa-lock fa-medium"></i></label> -->
                  <!-- <input type="password" class="form-control" id="password" placeholder="Password"> -->
                  <input class="form-control" placeholder="验证码" type="text"    required  name="verify">
        <img id="verifyImg" src="<?php echo U('verify');?>" onClick="fleshVerify()" title="点击刷新验证码" style="cursor:pointer;border:0px" >
                </div>
              </div>
            </div>
            <div class="form-group">
              <div class="col-md-12">
                <div class="checkbox control-wrapper">
                    <label>
                        <input type="checkbox"> 记住密码
                    </label>
                  </div>
              </div>
            </div>
            <div class="form-group">
              <div class="col-md-12">
                <div class="control-wrapper">
                  <input type="submit" value="登录" class="btn btn-info">
                  <a href="<?php echo U('Index/index');?>" class="text-right pull-right">返回首页</a>
                </div>
              </div>
            </div>

  </div>
</body>
<script language="JavaScript">
    function fleshVerify(){
        document.getElementById("verifyImg").src="<?php echo U('verify');?>";
    }
</script>
</html>